package cn.example.backstage.order.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class Root {
     @ApiModelProperty(value = "管理id")
     Integer id;
     @ApiModelProperty(value = "管理姓名")
     String username;
     @ApiModelProperty(value = "管理密码")
     String password;
     @ApiModelProperty(value = "管理账号")
     String account;
     @ApiModelProperty(value = "手机号")
     String phone;
     @ApiModelProperty(value = "角色")
     String role;
     @ApiModelProperty(value = "管理角色人数")
     Integer rolePopulation;
     @ApiModelProperty(value = "角色描述")
     String roleDepict;
     @ApiModelProperty(value = "状态")
     String status;
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     @ApiModelProperty(value = "创建时间")
     Date createTime;
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     @ApiModelProperty(value = "修改时间")
     Date updateTime;
     @ApiModelProperty(value = "选择角色")
     String pickRole;
     @ApiModelProperty(value = "权限")
     Integer power;


}
